package com.example.administrator.runbook.findfragment.activity;

import android.support.annotation.LayoutRes;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.administrator.runbook.R;

/**
 * Created by 俊峰 on 2016/11/8.
 */

public class BaseActivity extends AppCompatActivity {

    private Toolbar mToolbar;
    private ImageView mBackImg;
    private TextView mToolBarTitleText;

    @Override
    public void setContentView(@LayoutRes int layoutResID) {
        super.setContentView(layoutResID);
        mToolbar = (Toolbar) findViewById(R.id.activity_find_classify_toolbar);
        mBackImg = (ImageView) findViewById(R.id.activity_find_classify_goBack_img);
        mToolBarTitleText = (TextView) findViewById(R.id.find_toolbar_text_title);
        setToolBar(mToolbar);
        setBackImg(mBackImg);
        setToolBarTitleText(mToolBarTitleText);
    }

    public void setToolBar(Toolbar toolbar){

    }

    public void setToolBarTitleText(TextView toolBarTitleText){

    }

    public void setBackImg(ImageView backImg){

    }
}
